import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.shape.Arc;
import javafx.scene.shape.ArcType;
import javafx.scene.paint.Color;

public class Test extends Application {
	public void start(Stage stage) {
		Arc arc1=new Arc(100,100,50,50,0,60);
		arc1.setStroke(Color.BLACK);
		arc1.setFill(Color.YELLOWGREEN);
		arc1.setType(ArcType.ROUND);

		Arc arc2=new Arc(100,100,50,50,120,60);
		arc2.setStroke(Color.BLACK);
		arc2.setFill(Color.YELLOWGREEN);
		arc2.setType(ArcType.CHORD);

		Arc arc3=new Arc(100,100,50,50,240,60);
		arc3.setStroke(Color.BLACK);
		arc3.setFill(Color.YELLOWGREEN);
		arc3.setType(ArcType.OPEN);

		Pane pane=new Pane();
		pane.getChildren().addAll(arc1,arc2,arc3);

		Scene scene=new Scene(pane,200,200);

		stage.setScene(scene);
		stage.setTitle("arc test");
		stage.show();
	}
}
